package com.yingsheng.bi.hks.mapping;

import com.yingsheng.bi.hks.bo.InvoicesBo;
import com.yingsheng.bi.hks.dto.mine.InvoicesAddReq;
import com.yingsheng.bi.hks.dto.mine.InvoicesPersonQryReq;
import com.yingsheng.bi.hks.repository.dao.po.Invoices;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface InvoicesMgmtMappings {

    InvoicesMgmtMappings INSTANCE = Mappers.getMapper(InvoicesMgmtMappings.class);

    Invoices addReq2po(InvoicesAddReq req);

    Invoices addReq2po(InvoicesPersonQryReq req);

    List<InvoicesBo> invoicesList2boList(List<Invoices> invoices);
}
